package com.hzya.frame.system.role.dao.impl;

import com.hzya.frame.system.role.dao.IRoleDao;
import com.hzya.frame.system.role.entity.RoleEntity;
import com.hzya.frame.utils.core.dao.MybatisGenericDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description: 角色  dao
 * @tableName: system_role 
 * @entityName: RoleEntity
 * @author: gjh
 * @history:1.0
 */
@Repository("system_roledao")
public class RoleDaoImpl extends MybatisGenericDao<RoleEntity, Long> implements IRoleDao {

    @Override
    public List<RoleEntity> getUserRoleList(RoleEntity roleEntity) {

        return  super.query("getUserRoleList",roleEntity);
    }
}
